package com.cyam.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cyam.domain.ArticleFile;
import com.cyam.mapper.ArticleFileMapper;
import com.cyam.service.ArticleFileService;
import com.cyam.util.Pager;

@Transactional
@Service
public class ArticleFileServiceImpl implements ArticleFileService{
	
	@Resource
	private ArticleFileMapper articleFileMapper;

	@Override
	public void save(ArticleFile t) throws Exception {
		articleFileMapper.insertObject(t);
	}

	@Override
	public void update(ArticleFile t) throws Exception {
		
	}

	@Override
	public void remove(int id) throws Exception {
		
	}

	@Override
	public List<ArticleFile> findAll(Map<String, Object> map) throws Exception {
		return null;
	}

	@Override
	public ArticleFile findOne(Map<String, Object> map) throws Exception {
		return articleFileMapper.selectOne(map);
	}

	@Override
	public Pager findPager(Map<String, Object> map, int page, int size) throws Exception {
		return null;
	}

	@Override
	public Pager countPager(Map<String, Object> map, int page, int size) throws Exception {
		return null;
	}

}
